package com.huadi.ssm.Service;

import com.huadi.ssm.po.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserService {
    public int addUser(User user);
    public int deleteUserByUserId(@Param("userId") String userId);
    public int updateUser(User user);
    public User findUserByUserId(@Param("userId") String userId );
    public List<User> findAllUser();
    public int changePassword( String userId,String userPassword);
    public User login(@Param("userId") String userId ,@Param("userPassword") String userPassword);
}
